import request from '@/utils/request'

export function findAll(params) {
  return request({
    url: '/order/form/findAll',
    method: 'get',
    params
  })
}

export function findShip(params) {
  return request({
    url: '/order/form/findShip',
    method: 'get',
    params
  })
}
export function findPut(params) {
  return request({
    url: '/order/form/findPut',
    method: 'get',
    params
  })
}
export function NoPay(params) {
  return request({
    url: '/order/form/noPay',
    method: 'get',
    params
  })
}
export function overDeal(params) {
  return request({
    url: '/order/form/overDeal',
    method: 'get',
    params
  })
}

export function updateShipSta(params) {
  return request({
    url: '/order/form/upShipSta',
    method: 'get',
    params
  })
}

export function moreCli(params) {
  return request({
    url: '/order/form/moreCli',
    method: 'get',
    params
  })
}

export function moreGood(params) {
  return request({
    url: '/order/form/moreGood',
    method: 'get',
    params
  })
}

export function findGoods(params) {
  return request({
    url: '/order/form/findGoods',
    method: 'get',
    params
  })
}

export function addCli(data) {
  return request({
    url: '/order/form/addClient',
    method: 'post',
    data
  })
}
export function addGoods(data) {
  return request({
    url: '/order/form/addGoods',
    method: 'post',
    data
  })
}
export function addOrder(data) {
  return request({
    url: '/order/form/addOrder',
    method: 'post',
    data
  })
}

export function findAllClient(params) {
  return request({
    url: '/order/form/cliAll',
    method: 'get',
    params
  })
}

export function refundFindAll(params) {
  return request({
    url: '/refund/form/findAll',
    method: 'get',
    params
  })
}

export function delOne(params) {
  return request({
    url: '/refund/form/delOne',
    method: 'get',
    params
  })
}

export function updateSta(data) {
  return request({
    url: '/refund/form/update',
    method: 'post',
    data
  })
}
export function delBatch(params) {
  return request({
    url: '/refund/form/delBatch',
    method: 'get',
    params
  })
}


